package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息管理对象 user_info
 * 
 * @author ruoyi
 * @date 2024-09-28
 */

@Data
public class UserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "用户ID")
    private Long userId;

    @Excel(name = "用户头像地址")
    private String avatarAddress;

    @Excel(name = "用户昵称")
    private String nickName;

    @Excel(name = "用户电话")
    private Long phone;

    @Excel(name = "真实姓名")
    private String realName;

    @Excel(name = "微信号")
    private String wechat;

    @Excel(name = "头衔编号")
    private Long titleCode;

    @Excel(name = "账号")
    private String account;

    @Excel(name = "密码")
    private String password;

    @Excel(name = "个人简介")
    private String pesronResume;

    @Excel(name = "所属组织")
    private String organization;

    @Excel(name = "删除标识(1删除,0未删除)")
    private Long isDel;

    @Excel(name = "openid")
    private String openid;

    @Excel(name = "sessionKey")
    private String sessionKey;

    @Excel(name = "性别")
    private String sex;

    @Excel(name = "累计减碳时间")
    private String reductionTime;

    @Excel(name = "扩展字段3")
    private String ext3;

    @Excel(name = "扩展字段4")
    private String ext4;

    @Excel(name = "扩展字段5")
    private String ext5;

    @Excel(name = "累计减碳量")
    private Double co2Reduce;

    @Excel(name = "积分数量")
    private Double points;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAvatarAddress(String avatarAddress) 
    {
        this.avatarAddress = avatarAddress;
    }

    public String getAvatarAddress() 
    {
        return avatarAddress;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setPhone(Long phone) 
    {
        this.phone = phone;
    }

    public Long getPhone() 
    {
        return phone;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setWechat(String wechat) 
    {
        this.wechat = wechat;
    }

    public String getWechat() 
    {
        return wechat;
    }
    public void setTitleCode(Long titleCode) 
    {
        this.titleCode = titleCode;
    }

    public Long getTitleCode() 
    {
        return titleCode;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setPersonResume(String personResume) 
    {
        this.pesronResume = personResume;
    }

    public String getPersonResume() 
    {
        return pesronResume;
    }
    public void setOrganization(String organization) 
    {
        this.organization = organization;
    }

    public String getOrganization() 
    {
        return organization;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }
    public void setExt5(String ext5) 
    {
        this.ext5 = ext5;
    }

    public String getExt5() 
    {
        return ext5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("avatarAddress", getAvatarAddress())
            .append("nickName", getNickName())
            .append("phone", getPhone())
            .append("realName", getRealName())
            .append("wechat", getWechat())
            .append("titleCode", getTitleCode())
            .append("account", getAccount())
            .append("password", getPassword())
            .append("personResume", getPersonResume())
            .append("organization", getOrganization())
            .append("openid", getOpenid())
            .append("isDel", getIsDel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("co2Reduce", getCo2Reduce())
            .append("points", getPoints())
            .append("sex", getSex())
            .append("reductionTime", getReductionTime())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .append("ext5", getExt5())
            .toString();
    }


    public String getReductionTime() {
        return reductionTime;
    }

    public void setReductionTime(String reductionTime) {
        this.reductionTime = reductionTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Double getCo2Reduce() {
        return co2Reduce;
    }

    public void setCo2Reduce(Double co2Reduce) {
        this.co2Reduce = co2Reduce;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3;
    }

    public Double getPoints() {
        return points;
    }

    public void setPoints(Double points) {
        this.points = points;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
}
